package com.zhang.order.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zhang.order.dto.OrderItemSearchDTO;
import com.zhang.order.entity.OrderItem;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 订单项信息 Mapper 接口
 * </p>
 *
 * @author 创世神
 * @since 2023-12-05
 */
@Mapper
public interface OrderItemMapper extends BaseMapper<OrderItem> {

    IPage<OrderItem> getBusinessOrderItems(@Param("dto") OrderItemSearchDTO dto, IPage<OrderItem> page);
}
